package org.jprogger.myworld.app.auth.model;

/**
 * 
 * @author jprogger
 *
 */
public class Application {

	private int id;
	private String state;
	private AppWindow window;
	private AppPermission permission;

	public Application(int appId, String appState, AppWindow appWindow, AppPermission appPermission) {
		this.state = appState;
		this.window = appWindow;
		this.id = appId;
		this.permission = appPermission;
	}
	
	public String getState() {
		return state;
	}
	
	public void setState(String state) {
		this.state = state;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public AppWindow getWindow() {
		return window;
	}

	public void setWindow(AppWindow window) {
		this.window = window;
	}

	public AppPermission getPermission() {
		return permission;
	}

	public void setPermission(AppPermission permission) {
		this.permission = permission;
	}
}
